/*
 * Copyright (c) 2006 - 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;

/**
 * <p>Project: app2022 - BufferedWiter1
 * <p>Powered by webrx On 2022-01-19 11:53:11
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class BufferedWiter1 {
    public static void main(String[] args) {
        try (var bw = new BufferedWriter(new FileWriter("d", true))) {
            bw.write("中文字符1\n");
            bw.write("中文字符2\n");
            bw.write("中文字符3\n");
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
